POV-Ray : Newsgroups : povray.binaries.images : WIP: desert temple - mystery.21_curves.jpg [1/1] : Re: desert temple - mystery.21_curves.jpg [1/1] Server Time
17 Aug 2024 20:20:54 EDT (-0400)
  Re: desert temple - mystery.21_curves.jpg [1/1]  
From: Lutz-Peter Hooge
Date: 26 Aug 2001 18:00:00
Message: <MPG.15f38fd82cfb629989681@news.povray.org>
In article <3b896f5d$1@news.povray.org>, gra### [at] earthlinknet 
says...
> Well, I think it's great! I can't help you with the stone, but what I really
> like about this picture (besides the overall mood - it's fantastic) is the
> glowing green sphere. Would you be willing to share it with the group? 

Well it is really easy, I created it more or less by accident and was 
surprised how good it was looking myself

#macro lightsphere(COLOR)
light_source
{       
	<0,0,0>
	color rgb COLOR
	
	fade_distance 3
	fade_power 3
	looks_like
	{
		sphere
		{
			<0,0,0>,.5
			hollow
			texture
			{
				pigment{color rgb COLOR transmit .9}
				finish
				{
					specular .3 roughness .004
					ambient .5 diffuse .5
					reflection .2}
				}
			
				interior
				{
				ior 2
				media
				{
					emission rgb 5
					density
					{
						spherical
						scale .5 
						color_map
						{
							[0.0 color rgb 0]
							[0.5 color rgb 0]
							[0.7 color rgb COLOR]
							[1.0 color rgb 1]
						}
					}
				}
			} 
		}
	}
}
#end


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.